package test;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class URLDecodeDemo {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String str = "username=%E6%9D%8E%E6%B5%B7%E5%85%B0";
        str = URLDecoder.decode(str,"UTF-8");
        System.out.println(str);
    }
}
